<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 引入bootstrap -->
    <link rel="stylesheet" href="/webjars/bootstrap/4.1.3/css/bootstrap.min.css" />
    <script src="/webjars/jquery/3.0.0/jquery.min.js"></script>
    <script src="/webjars/bootstrap/4.1.3/js/bootstrap.min.js"></script>
</head>
<body>
    <table>
        <tr>
            <th colspan="4" align="center"><h1>查询系统</h1></th>
        </tr>
    </table>
    <table align="center" class="table table-hover">
        <tr>
            <td colspan="4" align="right">
                <form action="togo" method="post">
                    <input type="submit" value="添加" href="toGoAdd" class="btn btn-primary"/>
                </form>
            </td>
        </tr>
        <tr class="info">
            <th>姓名</th>
            <th>密码</th>
            <th></th>
            <th>邮箱</th>
        </tr>
        <tr th:each="sch: ${slist}">
            <td th:text="${sch.name}"></td>
            <td th:text="${sch.pass}"></td>
            <td></td>
            <td th:text="${sch.emila}"></td>
        </tr>

    </table>

</body>
</html>